﻿using System;
using System.Reflection;

namespace Viyi.Util
{
    static partial class EnumUtil
    {
        private static bool IsEnumType(this Type type) => type?.GetTypeInfo()?.IsEnum ?? false;
    }
}
